package com.yc.common.exceptions.user;


import com.yc.common.constant.HttpStatus;
import com.yc.common.exceptions.ServiceException;

/**
 * 用户信息异常类
 *
 * @author ruoyi---yanchen
 */
public class UserException extends ServiceException {
    private static final long serialVersionUID = 1L;

    public UserException(String message) {
        super(message, HttpStatus.BAD_REQUEST);
    }

    public UserException(String message, Integer code) {
        super(message, code);
    }
}
